package com.woniuxy.micromedicalserver.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor

public class RegisteredOrderBean implements Serializable {

  private Integer id;
  private String orderNumber;
  private Integer registrationFeeId;//【外键】挂号费用表id,查询挂号费用
  private Integer userId;//【外键】用户id
  private Integer doctorId;//【外键】医生id，根据医生id查询医院名称、职称
  @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
  private java.util.Date createdTime;//创建时间
  @JsonFormat(pattern = "yyyy-MM-dd")
  private java.util.Date dateOfVisit;//就诊日期【yyyy-MM-dd】
  private String dateOfVisitMore;//就诊时间【hh:mm~hh:mm】
  private Byte isPay;


  private RegistrationFeeBean registrationFeeBean;
  private UserBean userBean;
  private DoctorBean doctorBean;


}
